//
//  IMManager.h
//  MLIM
//
//  Created by molon on 15/7/9.
//  Copyright (c) 2015年 molon. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "IMConstants.h"

//IMCM clean消息
extern NSString * const MLIM_IMManagerStatus_Updated_Notification;

@interface IMManager : NSObject

@property (readonly, nonatomic, assign) IMManagerStatus status;

+ (instancetype)manager;

//使用clietnId登录
- (void)loginWithClientId:(NSString*)clientId callback:(IMBooleanResultBlock)callback;

//注销
- (void)logoutWithCallback:(IMBooleanResultBlock)callback;

@end
